{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
}}

<PageHeader as |p|>
  <p.top>
    <Page::Breadcrumbs @breadcrumbs={{this.breadcrumbs}} />
  </p.top>
  <p.levelLeft>
    <h1 class="title is-3" data-test-page-title>
      <Icon @name="certificate" @size="24" class="has-text-grey-light" />
      Edit Key
    </h1>
  </p.levelLeft>
</PageHeader>

<PkiKeyForm
  @model={{this.model}}
  @onCancel={{transition-to "vault.cluster.secrets.backend.pki.keys.key.details" this.model.id}}
  @onSave={{transition-to "vault.cluster.secrets.backend.pki.keys.key.details" this.model.id}}
/>